package com.dlnu.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import com.dlnu.config.Entity;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Absence extends Entity{

	
	private Integer id;
	
	private Integer studentId;
	
	private Integer dormitoryId;
	
	private Date startTime;
	
	private Date endTime;
	
	@Length(max = 200)
	private String remark;

	private Student student;

	private Dormitory dormitory;
	
}